package com.sc.design.PK.create.abfac_builder.absfac;

/**
 * @author sc
 * Created on  2017/12/7
 */
public class Client {
    public static void main(String[] args) {
        CarFactory carFactory = new BenzFac();
        ICar suv = carFactory.createSuv();
        ICar van = carFactory.createVan();
        System.out.println(suv.getBand()+suv.getModel());
        System.out.println(van.getBand()+van.getModel());
    }
}
